package com.ccom.core.common.exception.file;

import com.ccom.core.common.api.IResultCode;
import com.ccom.core.common.constant.ServiceNameConstants;
import com.ccom.core.common.exception.CcomBootException;

/**
 * 文件信息异常类
 */
public class CcomFileException extends CcomBootException {

    private static final long serialVersionUID = 1L;
    private static final String DEFAULT_MESSAGE = "文件处理异常";

    private String module= ServiceNameConstants.FILE_SERVICE;

    public CcomFileException(Integer code, String message) {
        super(code, message);
    }

    public CcomFileException(Integer code) {
        super(code, CcomFileException.DEFAULT_MESSAGE);
    }

    public CcomFileException(IResultCode resultCode) {
        super(resultCode);
    }


}
